<?php
    // +----------------------------------------------------------------------
    // | 海豚PHP框架 [ DolphinPHP ]
    // +----------------------------------------------------------------------
    // | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
    // +----------------------------------------------------------------------
    // | 官方网站: http://dolphinphp.com
    // +----------------------------------------------------------------------
    // | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
    // +----------------------------------------------------------------------

    namespace app\member\validate;

    use think\Validate;

    /**
     * 消息管理
     * Class Auth
     *
     * @package app\member\validate
     */
    class Message extends Validate
    {

        //定义验证规则
        protected $rule = [
            'id|消息ID'         => 'require|number|length:1,64',
            'list_rows |消息ID' => 'require|number|length:1,64',
            'page |消息ID'      => 'require|number|length:1,64',


        ];

        //定义验证提示
        protected $message = [


        ];

        //定义验证场景
        protected $scene = [
            //登录
            'read'  => ['id'],
            'lists' => ['list_rows','page'],
            'view'  => ['id'],

        ];

    }
